225. Debian安裝後設定

WHY

被要求寫個SOP安裝服務的手冊,
從作業系統開始。

Note

  1. *** is not in the sudoers file.  This incident will be reported.”
    修改sudoers檔案
su root
chmod 777 /etc/sudoers
vi /etc/sudoers

# 在 root    ALL=(ALL:ALL) ALL 下面加上
 <user>    ALL=(ALL)ALL

chmod 440 /etc/sudoers
  1. 關閉休眠模式
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

執行完後,需重開機
  1. 關閉安裝來源
    最快的方法是直接從桌面模式關掉。
    程式介面搜尋 update,找到software & update ,
    進去後切到Other software的頁籤,將選項拿掉。

  2. 安裝deb

apt install ./anydesk_6.3.2-1_amd64.deb